package beans;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class AreaDepositoBean implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private List<DepositoBean> depositos = new ArrayList<DepositoBean>();
	
	public AreaDepositoBean() {
		
	}

	public List<DepositoBean> getDepositos() {
		return depositos;
	}

	public void setDepositos(ArrayList<DepositoBean> depositos) {
		this.depositos = depositos;
	}

	
	public AreaDepositoBean(ArrayList<DepositoBean> depositos) {
		
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((depositos == null) ? 0 : depositos.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		AreaDepositoBean other = (AreaDepositoBean) obj;
		if (depositos == null) {
			if (other.depositos != null)
				return false;
		} else if (!depositos.equals(other.depositos))
			return false;
		return true;
	}

	
	
	
	
}
